
import {useRoutes} from 'react-router-dom'
import Router from './router/index'
const  App = () => {
  let element = useRoutes(Router)
  return (
    <div>{element}</div>
  )
}

export default App
